package com.star.domain;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * url参数
 *
 * @author 孙星阳
 * @date 2017/9/27 下午4:04
 */
@Table(name = "conf_url_param")
@Entity
@Getter
@Setter
@ToString
@AllArgsConstructor
public class UrlRuleParam extends AbstractEntity {

    private static final long serialVersionUID = 437452597406504727L;

    @Column(columnDefinition = "varchar(38)", nullable = false)
    private String urlRuleId;

    @Column(columnDefinition = "varchar(100)", nullable = false)
    private String paramName;

    @Column(columnDefinition = "varchar(500)", nullable = false)
    private String expression;
}
